package com.example.studytest.Repository.OpenData;

import com.example.studytest.Entity.OpenData.T_download_per;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Map;

public interface DownloadPerRepository extends JpaRepository<T_download_per, Integer> {
    @Query(value = "select COUNT(DISTINCT id) from t_download_per", nativeQuery = true)
    Long countAllDPer();
}
